package com.shenmazong.servertalkstudent.service;


import com.shenmazong.utils.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 勇
 */
public interface TbStudentService {


    public ResponseResult setUserPass(@RequestParam("userId") Integer userId,
                                      @RequestParam("oldPass") String oldPass,
                                      @RequestParam("newPass") String newPass);


    public ResponseResult getClassByPage(@RequestParam("userId") Integer userId,
                                         @RequestParam("pageCurrent") Integer pageCurrent,
                                         @RequestParam("pageSize") Integer pageSize);


    public ResponseResult getFinishClassByPage(@RequestParam("userId") Integer userId,
                                               @RequestParam("pageCurrent") Integer pageCurrent,
                                               @RequestParam("pageSize") Integer pageSize);

    public ResponseResult getWillClassByPage(@RequestParam("userId") Integer userId,
                                             @RequestParam("pageCurrent") Integer pageCurrent,
                                             @RequestParam("pageSize") Integer pageSize);

    public ResponseResult getPayFeeByPage(@RequestParam("userId") Integer userId,
                                          @RequestParam("pageCurrent") Integer pageCurrent,
                                          @RequestParam("pageSize") Integer pageSize);
}
